package com.gae.blore.server.dao;

import java.util.List;

import com.gae.blore.client.domain.FireBrigadeStation;
import com.gae.blore.client.domain.Hospital;

public class FireStationServiceDao extends AbstractDao<FireBrigadeStation> implements IFireStationServiceDao {

	public List<FireBrigadeStation> getFireStations() {
		return findAll();
	}
	
	public void createFireStation(FireBrigadeStation station){
		saveOrUpdate(station);
	}

	@Override
	public Class getReferenceClass() {
		// TODO Auto-generated method stub
		return FireBrigadeStation.class;
	}

	@Override
	public FireBrigadeStation getFireBrigadeStation(Long id) {
		return findById(id);
	}

}
